﻿using B.S.EventHandle.ErrorCode;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.SmartStorPro.Domain
{
    /// <summary>
    /// 盘点表
    /// </summary>
    public class InventoryCounts
    {
        /// <summary>
        /// 盘点表ID--主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int CountID {  get; set; }
        /// <summary>
        /// 盘点单号
        /// </summary>
        /// 
        [MaxLength(50)]
        public string CountDocument {  get; set; }
        /// <summary>
        /// 关联订单号
        /// </summary>
        /// 
        [MaxLength(50)]
        public string OrderCode { get; set; }
        /// <summary>
        /// 制单人名称
        /// </summary>
        /// 
        [MaxLength(50)]
        public string CreatorUserName { get; set; }
        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public InventoryStatus Status { get; set; }
       
        /// <summary>
        /// 是否删除(1-删除 0正常)
        /// </summary>
        public bool IsDelete { get; set; }


    }
}
